package com.project.dao;

import com.project.entity.TeacherInfo;
import com.project.myBeans.TeacherInfoDetail;

import java.util.List;

public interface TeacherInfoMapper {

    TeacherInfo selectByPrimaryKey(Integer id);

    TeacherInfo selectByUserid(Integer userid);

    TeacherInfoDetail selectDetailByTeacherid(Integer teacherinfoid);

    int insertSelective(TeacherInfo teacherInfo);

    List<TeacherInfo> selectBySchoolId(Integer schoolid);
}
